animals = ['dog', 'duak', 'pig', 'fish', 'cat', 'tiger']

print("The first three items in the list are:")
print(animals[0:3])

print("Three items from the middle of the list are:")
print(animals[2:5])

print("The last three items in the list are:")
print(animals[-3:])